#include<bits/stdc++.h>
using namespace std;
int t, m, n;
const int MAXN = 1e5 + 5;
int a[MAXN], c[MAXN];
int main()
{
    freopen("arena.in", "r", stdin);
    freopen("arena.out", "w", stdout);
    scanf("%d%d", &n, &m);
    for(int i = 1; i <= m; i++)
    {
        for(int ii = 1; i <= n; i++)
            scanf("%d", a[i]);
        for(int ii = 1; i <= n; i++)
            scanf("%d", c[i]);    
    }
    return 0;
}